/**
 * 
 */
package com.linkage.service.impl;

import com.linkage.dao.ICustomerDao;
import com.linkage.model.Customer;
import com.linkage.service.ICustomerService;

/**
 * @author Administrator
 *
 */
public class CustomerService implements ICustomerService 
{
	private ICustomerDao customerDao;
	
	/**
	 * @param customerDao the customerDao to set
	 */
	public void setCustomerDao(ICustomerDao customerDao) 
	{
		this.customerDao = customerDao;
	}

	/* (non-Javadoc)
	 * @see com.linkage.service.ICustomerService#registerCustomer(com.linkage.model.Customer)
	 */
	@Override
	public boolean registerCustomer(Customer customer) 
	{
		// TODO Auto-generated method stub
		return customerDao.register(customer);
	}
}
